<?php if ($subjectTops && is_array($subjectTops)) { ?>
<div class="title"><span>热门造型装备</span></div>
<ul class="newtlinst">
  <?php foreach ($subjectTops as $i => $subjectTop) { ?>
  <li><a href="{:U('zhuang/Index/read', array('id' => $subjectTop['id']))}"><i><?php echo $i + 1; ?></i>{$subjectTop.subject}</a></li>
  <?php } ?>
</ul>
<?php unset($subjectTops, $subjectTop); } ?>